@extends('admin.index.layout')
@section('title', $title)
@section('content')
    
        <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                评论管理
                <small>评论列表</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> 主页</a></li>
                <li><a href="#">评论管理</a></li>
                <li class="active">评论详情列表</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-xs-12">


                    <div class="box">
                        <div class="box-header">
                            <h3 class="box-title">评论详情列表</h3>
                        </div><!-- /.box-header -->
                        <div class="box-body">
                            <form action="{{ url('/admin/comment/index') }}">
                                <div class="row">
                                    <div class="col-md-4">
                                        <div class="input-group margin">
                                            <input type="text" class="form-control" value="{{ $request['keywords'] or '' }}" name="keywords">
                                            <span class="input-group-btn">
                                              <button class="btn btn-info btn-flat" type="button">搜索</button>
                                            </span>
                                        </div>
                                    </div>

                                    <div class="col-md-2  col-md-offset-6">
                                        <div class="form-group">
                                        
                                            <label>Select</label>
                                            <select name="num" class="form-control">
                                                <option>10</option>
                                                <option>25</option>
                                                <option>50</option>
                                                <option>100</option>
                                            </select>

                                        </div>
                                    </div>
                                </div>
                            </form>
                                
                            <table id="example1" class="table table-bordered table-striped">
                                <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>商品名</th>
                                    <th>评论用户</th>
                                    <th>评论内容</th>
                                    <th>评论时间</th>
                                    <th>回复内容</th>
                                    <th>回复时间</th>
                                    <th>评价星级</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>

                               
                                </tbody>
                            </table>
                         
                        </div><!-- /.box-body -->
                    </div><!-- /.box -->
                </div><!-- /.col -->
            </div><!-- /.row -->
        </section><!-- /.content -->
    </div><!-- /.content-wrapper -->

    <script type="text/javascript">
        window.onload = function()
        {
            $.ajaxSetup({
                headers: {
                    'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                }
            });
            
          
        }
    </script>
    


@endsection